package com.bjpowernode.result;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 *
 */
@AllArgsConstructor
@NoArgsConstructor
public enum CodeEnum {
    OK(200, "成功"),
    FAIL(500, "失败"),
    LOGIN_ACCOUNT_ERR(501, "登录账号错误"),
    LOGIN_password_ERR(501, "登录密码错误"),

    USER_JWT_IS_EMPTY(901 , "jwt请求为空"),

    USER_JWT_IS_ILLEGALITY(902 , "jwt请求不合法"),

    USER_JWT_ERROR(903 , "jwt请求错误");

    @Setter
    @Getter
    private int code;

    @Getter
    @Setter
    private String msg;
}
